Metadata
aliases: []
shorthands: {}
created: 2021-10-26 20:44:49
modified: 2022-01-10 04:13:04
VTK is an open source framework for manipulating and displaying scientific data. Is is not hard to build on an M1 Mac.
For parallel computing support, an MPI compiler is needed. This is easy to install via brew: brew install open-mpi.
Other dependencies installable via brew:
Also python is good to have and naturally all the utilities included in Xcode.
(Official guide)
The open source repo can be found on GitLab, this has to be cloned:
git clone --recursive https://gitlab.kitware.com/vtk/vtk.git
cd vtk
When installing it to use with LIGGGHTS, we should compile the ParaView release of the library:
git checkout paraview/release
Then the next step is to just build with cmake:
mkdir -p build
cd ./build
ccmake ..
This will bring up a config panel, where the use of MPI can be turned on, the number of cores to use can be set and the SMP implementation as well (best to use basic STD implementation) among other things. Building will take up to an hour.
After successful building, the libraries can be installed to be used with LIGGGHTS via sudo make install.